#include "defines.txt"

if (new_room) {
  load.pic(room_no);
  draw.pic(room_no);
  discard.pic(room_no);
  set.horizon(37);

  load.view(8);
  set.view(o1,8);
  position(o1,57,100);
  animate.obj(o1);
  start.cycling(o1);
  draw(o1);

  draw(ego);
  show.pic();
}
  if (said("look")) {
    print("you are in the nearly empty labratory.");
    print("you see raju working on a mach torch.");
}
if (has("mach")) {
  if (said("take","mach")) {
    print("Don't be greedy.");
  }
}
if (said("take","mach")) {
  print("You grab a mach torch.");
  get("mach");
}
if (ego_edge_code == right_edge) {    // ego touching right edge of screen
  new.room(6);
}
if (has("spell book")) {
  if (said("open","book")) {
    print("The spells are as follows-.");
    print("DHOOA: Makes everyone go blind, except you.");
    print("KALI: You can open any door with this one.");
    print("PINKU: You will know the answer to any questions if you use this.");
    print("That's all.");
  }
}
if (has("spell book")) {
  if (said("dhooa")) {
    print("No need of using this now.");
  }
}
if (has("spell book")) {
  if (said("Kali")) {
    print("No need of using this now.");
  }
}
if (has("spell book")) {
  if (said("pinku")) {
    print("No need of using this now.");
  }
}
if (v3 == 10) {
  if (said("look","raju")) {
    print("He's still working on the mach.");
  }
}
if (v3 == 10) {
  if (said("talk","raju")) {
    print("Raju: Hey I know Vijay has gone out of his mind.");
    print("You better go to Karol Bagh right now and take the money from the Briefcase I kept there");
    v3 += 4;
  }
}
if (v3 == 4) {
  if (said("look","raju")) {
    print("He's sweatin bad.");
  }
}
if (v3 == 4) {
  if (said("talk","raju")) {
    print("Hey Biru you might wanna take a mach with you.");
  }
}
if (v3 == 14) {
  if (said("look","raju")) {
    print("He's still working on the mach.");
  }
}
if (v3 == 14) {
  if (said("talk","raju")) {
    print("Well what are ya waitin for? go.");
  }
}
return();